<template>
  <div id="app">

  </div>
</template>

<script>
export default {
  name: 'App',
  mounted(){
    if(this._isMobile()){
      window.location.href = '/marketing/consulation/mobile.html'
    } else {
      window.location.href = '/marketing/consulation/pc.html'
    }
  },
  methods: {
  _isMobile() {
      let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)
      return flag;
    }
  }
}
</script>


<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
</style>
